import {
  get,
  post
} from '../utils/request.js'


//注册
export const registApi = function(params) {
  return post('/regist', params);
}

//登录
export const loginApi = function(params) {
  return post('/login', params);
}

//获取用户信息
export const loadApi = function(params) {
  return get('/customer/user', params);
}
